{"type": "func", "start": 4302040256, "end": 4302040286, "name": "GJMGLayer::defaultYOffsetForBG2", "pseudocode": "// \n// GJMGLayer::defaultYOffsetForBG2 from 0x1006becc0 to 0x1006becde (30 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:31 +0000\n// \n\nfloat __fastcall GJMGLayer::defaultYOffsetForBG2(int a1)\n{\n  unsigned int v1; // edi\n  float result; // xmm0_4\n\n  v1 = a1 - 1;\n  result = 0.0;\n  if ( v1 <= 2 )\n    return flt_100A108FC[v1];\n  return result;\n}", "assembly": "; \n; GJMGLayer::defaultYOffsetForBG2 from 0x1006becc0 to 0x1006becde (30 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006becc0\nmov     rbp, rsp                                                       ; +0x1, 0x1006becc1\ndec     edi                                                            ; +0x4, 0x1006becc4\nxorps   xmm0, xmm0                                                     ; +0x6, 0x1006becc6\ncmp     edi, 2                                                         ; +0x9, 0x1006becc9\nja      short loc_1006BECDC                                            ; +0xc, 0x1006beccc\nmov     eax, edi                                                       ; +0xe, 0x1006becce\nlea     rcx, flt_100A108FC                                             ; +0x10, 0x1006becd0\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x17, 0x1006becd7\npop     rbp                                                            ; +0x1c, 0x1006becdc\nretn                                                                   ; +0x1d, 0x1006becdd", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}