{"type": "func", "start": 3541236, "end": 3541266, "name": "EnhancedGameObject::updateState", "pseudocode": "// \n// EnhancedGameObject::updateState from 0x3608f4 to 0x360912 (30 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::processStateObjects @ 0x46fbaa\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\nvoid EnhancedGameObject::updateState(EnhancedGameObject *a1, int a2)\n{\n  if ( a1->m_state < a2 )\n    a1->m_poweredOn = 0;\n  if ( !a1->m_poweredOn )\n    a1->powerOffObject(a1);\n}", "assembly": "; \n; EnhancedGameObject::updateState from 0x3608f4 to 0x360912 (30 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::processStateObjects @ 0x46fbaa\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\nLDR.W           R3, [R0,#0x488]                                        ; +0x0, 0x3608f4\nCMP             R3, R1                                                 ; +0x4, 0x3608f8\nITT LT                                                                 ; +0x6, 0x3608fa\nMOVLT           R3, #0                                                 ; +0x8, 0x3608fc\nSTRBLT.W        R3, [R0,#0x487]                                        ; +0xa, 0x3608fe\nLDRB.W          R3, [R0,#0x487]                                        ; +0xe, 0x360902\nCBNZ            R3, locret_360910                                      ; +0x12, 0x360906\nLDR             R3, [R0]                                               ; +0x14, 0x360908\nLDR.W           R3, [R3,#0x38C]                                        ; +0x16, 0x36090a\nBX              R3                                                     ; +0x1a, 0x36090e\nBX              LR                                                     ; +0x1c, 0x360910", "xrefs": ["GJBaseGameLayer::processStateObjects @ 0x46fbaa"], "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"}