{"type": "func", "start": 4644272, "end": 4644326, "name": "GJBaseGameLayer::atlasValue", "pseudocode": "// \n// GJBaseGameLayer::atlasValue from 0x46ddb0 to 0x46dde6 (54 bytes)\n// \n// 0 xrefs:\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  float v2; // s15\n\n  if ( a2 <= 29 )\n    return 0;\n  v2 = (float)a2 * 1.1;\n  if ( v2 >= 9999.0 )\n    return 9999;\n  else\n    return (int)v2;\n}", "assembly": "; \n; GJBaseGameLayer::atlasValue from 0x46ddb0 to 0x46dde6 (54 bytes)\n; \n; 0 xrefs:\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             R1, #0x1D                                              ; +0x0, 0x46ddb0\nBLE             loc_46DDDC                                             ; +0x2, 0x46ddb2\nVMOV            S15, R1                                                ; +0x4, 0x46ddb4\nVCVT.F32.S32    S14, S15                                               ; +0x8, 0x46ddb8\nVLDR            S15, =1.1                                              ; +0xc, 0x46ddbc\nVMUL.F32        S15, S14, S15                                          ; +0x10, 0x46ddc0\nVLDR            S14, =9999.0                                           ; +0x14, 0x46ddc4\nVCMPE.F32       S15, S14                                               ; +0x18, 0x46ddc8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1c, 0x46ddcc\nBPL             loc_46DDE0                                             ; +0x20, 0x46ddd0\nVCVT.S32.F32    S15, S15                                               ; +0x22, 0x46ddd2\nVMOV            R0, S15                                                ; +0x26, 0x46ddd6\nBX              LR                                                     ; +0x2a, 0x46ddda\nMOVS            R0, #0                                                 ; +0x2c, 0x46dddc\nBX              LR                                                     ; +0x2e, 0x46ddde\nMOVW            R0, #0x270F                                            ; +0x30, 0x46dde0\nBX              LR                                                     ; +0x34, 0x46dde4", "xrefs": [], "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"}