{"type": "func", "start": 8749884, "end": 8749932, "name": "GJBaseGameLayer::atlasValue", "pseudocode": "// \n// GJBaseGameLayer::atlasValue from 0x85833c to 0x85836c (48 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x48588\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint GJBaseGameLayer::atlasValue(GJBaseGameLayer *a1, int a2)\n{\n  int result; // w0\n  float v3; // s0\n\n  result = 0;\n  if ( a2 > 29 )\n  {\n    result = 9999;\n    v3 = (float)a2 * 1.1;\n    if ( v3 < 9999.0 )\n      return (int)v3;\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::atlasValue from 0x85833c to 0x85836c (48 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x48588\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nCMP             W1, #0x1D                                              ; +0x0, 0x85833c\nMOV             W0, #0                                                 ; +0x4, 0x858340\nB.LE            locret_858368                                          ; +0x8, 0x858344\nSCVTF           S0, W1                                                 ; +0xc, 0x858348\nMOV             W0, #0x270F                                            ; +0x10, 0x85834c\nLDR             S1, =0x3F8CCCCD                                        ; +0x14, 0x858350\nFMUL            S0, S0, S1                                             ; +0x18, 0x858354\nLDR             S1, =0x461C3C00                                        ; +0x1c, 0x858358\nFCMPE           S0, S1                                                 ; +0x20, 0x85835c\nB.PL            locret_858368                                          ; +0x24, 0x858360\nFCVTZS          W0, S0                                                 ; +0x28, 0x858364\nRET                                                                    ; +0x2c, 0x858368", "xrefs": ["<???> @ 0x48588"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}