{"type": "func", "start": 4530652, "end": 4530682, "name": "EnhancedGameObject::updateState", "pseudocode": "// \n// EnhancedGameObject::updateState from 0x4521dc to 0x4521fa (30 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::processStateObjects @ 0x58f87e\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:48:37 +0000\n// \n\nint __fastcall EnhancedGameObject::updateState(int this, int a2)\n{\n  if ( *(_DWORD *)(this + 1168) < a2 )\n    *(_BYTE *)(this + 1167) = 0;\n  if ( !*(_BYTE *)(this + 1167) )\n    return (*(int (__fastcall **)(int))(*(_DWORD *)this + 916))(this);\n  return this;\n}", "assembly": "; \n; EnhancedGameObject::updateState from 0x4521dc to 0x4521fa (30 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::processStateObjects @ 0x58f87e\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:48:37 +0000\n; \nLDR.W           R3, [R0,#0x490]                                        ; +0x0, 0x4521dc\nCMP             R3, R1                                                 ; +0x4, 0x4521e0\nITT LT                                                                 ; +0x6, 0x4521e2\nMOVLT           R3, #0                                                 ; +0x8, 0x4521e4\nSTRBLT.W        R3, [R0,#0x48F]                                        ; +0xa, 0x4521e6\nLDRB.W          R3, [R0,#0x48F]                                        ; +0xe, 0x4521ea\nCBNZ            R3, locret_4521F8                                      ; +0x12, 0x4521ee\nLDR             R3, [R0]                                               ; +0x14, 0x4521f0\nLDR.W           R3, [R3,#0x394]                                        ; +0x16, 0x4521f2\nBX              R3                                                     ; +0x1a, 0x4521f6\nBX              LR                                                     ; +0x1c, 0x4521f8", "xrefs": ["GJBaseGameLayer::processStateObjects @ 0x58f87e"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}