{"type": "func", "start": 4410900, "end": 4410922, "name": "GJMGLayer::defaultYOffsetForBG2", "pseudocode": "// \n// GJMGLayer::defaultYOffsetForBG2 from 0x434e14 to 0x434e2a (22 bytes)\n// \n// 1 xrefs:\n// > GJMGLayer::init @ 0x43504a\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\nfloat GJMGLayer::defaultYOffsetForBG2(int a1)\n{\n  unsigned int v1; // r0\n\n  v1 = a1 - 1;\n  if ( v1 > 2 )\n    return 0.0;\n  else\n    return *((float *)&off_9AB688 + v1 + 7);\n}", "assembly": "; \n; GJMGLayer::defaultYOffsetForBG2 from 0x434e14 to 0x434e2a (22 bytes)\n; \n; 1 xrefs:\n; > GJMGLayer::init @ 0x43504a\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\nSUBS            R0, #1                                                 ; +0x0, 0x434e14\nCMP             R0, #2                                                 ; +0x2, 0x434e16\nBHI             loc_434E26                                             ; +0x4, 0x434e18\nLDR             R3, =(off_9AB688 - 0x434E20)                           ; +0x6, 0x434e1a\nADD             R3, PC; off_9AB688                                     ; +0x8, 0x434e1c\nADD.W           R0, R3, R0,LSL#2                                       ; +0xa, 0x434e1e\nLDR             R0, [R0,#0x1C]                                         ; +0xe, 0x434e22\nBX              LR                                                     ; +0x10, 0x434e24\nMOVS            R0, #0                                                 ; +0x12, 0x434e26\nBX              LR                                                     ; +0x14, 0x434e28", "xrefs": ["GJMGLayer::init @ 0x43504a"], "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"}