{"type": "func", "start": 4301175856, "end": 4301175886, "name": "GJMGLayer::defaultYOffsetForBG2", "pseudocode": "// \n// GJMGLayer::defaultYOffsetForBG2 from 0x1005ebc30 to 0x1005ebc4e (30 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\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_1008219FC[v1];\n  return result;\n}", "assembly": "; \n; GJMGLayer::defaultYOffsetForBG2 from 0x1005ebc30 to 0x1005ebc4e (30 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\npush    rbp                                                            ; +0x0, 0x1005ebc30\nmov     rbp, rsp                                                       ; +0x1, 0x1005ebc31\ndec     edi                                                            ; +0x4, 0x1005ebc34\nxorps   xmm0, xmm0                                                     ; +0x6, 0x1005ebc36\ncmp     edi, 2                                                         ; +0x9, 0x1005ebc39\nja      short loc_1005EBC4C                                            ; +0xc, 0x1005ebc3c\nmov     eax, edi                                                       ; +0xe, 0x1005ebc3e\nlea     rcx, flt_1008219FC                                             ; +0x10, 0x1005ebc40\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x17, 0x1005ebc47\npop     rbp                                                            ; +0x1c, 0x1005ebc4c\nretn                                                                   ; +0x1d, 0x1005ebc4d", "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"}