{"type": "func", "start": 5145524, "end": 5145744, "name": "EffectGameObject::updateInteractiveHover", "pseudocode": "// \n// EffectGameObject::updateInteractiveHover from 0x4e83b4 to 0x4e8490 (220 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::updateVisibility @ 0x407076\n// > LevelEditorLayer::updateVisibility @ 0x462e64\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:51:06 +0000\n// \n\nint __fastcall EffectGameObject::updateInteractiveHover(int this, float a2)\n{\n  int v2; // r4\n  int v4; // r7\n  const cocos2d::CCSize *v5; // r0\n  void (__fastcall *v6)(int, _BYTE *); // r8\n  int v7; // r4\n  int (__fastcall *v8)(int, _BYTE *); // r7\n  float v9; // [sp+4h] [bp-14h] BYREF\n  float v10; // [sp+8h] [bp-10h]\n  _BYTE v11[8]; // [sp+Ch] [bp-Ch] BYREF\n\n  v2 = this;\n  if ( !*(_BYTE *)(this + 658) && *(_DWORD *)(this + 892) != 1614 && !*(_BYTE *)(this + 1520) )\n  {\n    this = (*(int (__fastcall **)(int, int))(*(_DWORD *)this + 240))(this, 1);\n    v4 = this;\n    if ( this )\n    {\n      v5 = (const cocos2d::CCSize *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 164))(v2);\n      cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v9, v5);\n      v6 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v9 * 0.5, a2 + (float)(v10 * 0.5));\n      v6(v4, v11);\n      this = (*(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 240))(v2, 2);\n      v7 = this;\n      if ( this )\n      {\n        v8 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)this + 92);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v9 * 0.5, a2 + (float)(v10 * 0.5));\n        return v8(v7, v11);\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; EffectGameObject::updateInteractiveHover from 0x4e83b4 to 0x4e8490 (220 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::updateVisibility @ 0x407076\n; > LevelEditorLayer::updateVisibility @ 0x462e64\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:51:06 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x4e83b4\nMOV             R4, R0                                                 ; +0x4, 0x4e83b8\nVPUSH           {D8}                                                   ; +0x6, 0x4e83ba\nLDR             R3, =(__stack_chk_guard_ptr - 0x4E83C4)                ; +0xa, 0x4e83be\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xc, 0x4e83c0\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xe, 0x4e83c2\nVMOV            S17, R1                                                ; +0x10, 0x4e83c4\nSUB             SP, SP, #0x18                                          ; +0x14, 0x4e83c8\nLDR             R2, [R3]                                               ; +0x16, 0x4e83ca\nMOV             R6, R3                                                 ; +0x18, 0x4e83cc\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x1a, 0x4e83ce\nLDRB.W          R2, [R0,#0x292]                                        ; +0x1c, 0x4e83d0\nCMP             R2, #0                                                 ; +0x20, 0x4e83d4\nBNE             loc_4E847A                                             ; +0x22, 0x4e83d6\nLDR.W           R2, [R0,#0x37C]                                        ; +0x24, 0x4e83d8\nMOVW            R3, #0x64E                                             ; +0x28, 0x4e83dc\nCMP             R2, R3                                                 ; +0x2c, 0x4e83e0\nBEQ             loc_4E847A                                             ; +0x2e, 0x4e83e2\nLDRB.W          R3, [R0,#0x5F0]                                        ; +0x30, 0x4e83e4\nCMP             R3, #0                                                 ; +0x34, 0x4e83e8\nBNE             loc_4E847A                                             ; +0x36, 0x4e83ea\nLDR             R3, [R0]                                               ; +0x38, 0x4e83ec\nMOVS            R1, #1                                                 ; +0x3a, 0x4e83ee\nLDR.W           R3, [R3,#0xF0]                                         ; +0x3c, 0x4e83f0\nBLX             R3                                                     ; +0x40, 0x4e83f4\nMOV             R7, R0                                                 ; +0x42, 0x4e83f6\nCMP             R0, #0                                                 ; +0x44, 0x4e83f8\nBEQ             loc_4E847A                                             ; +0x46, 0x4e83fa\nLDR             R3, [R4]                                               ; +0x48, 0x4e83fc\nMOV             R0, R4                                                 ; +0x4a, 0x4e83fe\nVMOV.F32        S16, #0.5                                              ; +0x4c, 0x4e8400\nADD             R5, SP, #0x18+var_C                                    ; +0x50, 0x4e8404\nLDR.W           R3, [R3,#0xA4]                                         ; +0x52, 0x4e8406\nBLX             R3                                                     ; +0x56, 0x4e840a\nMOV             R1, R0; cocos2d::CCSize *                              ; +0x58, 0x4e840c\nADD             R0, SP, #0x18+var_14; this                             ; +0x5a, 0x4e840e\nBL              _ZN7cocos2d6CCSizeC1ERKS0_; cocos2d::CCSize::CCSize(cocos2d::CCSize const&) ; +0x5c, 0x4e8410\nVLDR            S15, [SP,#0x18+var_14]                                 ; +0x60, 0x4e8414\nLDR             R3, [R7]                                               ; +0x64, 0x4e8418\nMOV             R0, R5; this                                           ; +0x66, 0x4e841a\nVMOV.F32        S14, S17                                               ; +0x68, 0x4e841c\nLDR.W           R8, [R3,#0x5C]                                         ; +0x6c, 0x4e8420\nVMUL.F32        S15, S15, S16                                          ; +0x70, 0x4e8424\nVMOV            R1, S15; float                                         ; +0x74, 0x4e8428\nVLDR            S15, [SP,#0x18+var_10]                                 ; +0x78, 0x4e842c\nVMLA.F32        S14, S15, S16                                          ; +0x7c, 0x4e8430\nVMOV            R2, S14; float                                         ; +0x80, 0x4e8434\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x84, 0x4e8438\nMOV             R0, R7                                                 ; +0x88, 0x4e843c\nMOV             R1, R5                                                 ; +0x8a, 0x4e843e\nBLX             R8                                                     ; +0x8c, 0x4e8440\nLDR             R3, [R4]                                               ; +0x8e, 0x4e8442\nMOV             R0, R4                                                 ; +0x90, 0x4e8444\nMOVS            R1, #2                                                 ; +0x92, 0x4e8446\nLDR.W           R3, [R3,#0xF0]                                         ; +0x94, 0x4e8448\nBLX             R3                                                     ; +0x98, 0x4e844c\nMOV             R4, R0                                                 ; +0x9a, 0x4e844e\nCBZ             R0, loc_4E847A                                         ; +0x9c, 0x4e8450\nVLDR            S15, [SP,#0x18+var_14]                                 ; +0x9e, 0x4e8452\nLDR             R3, [R0]                                               ; +0xa2, 0x4e8456\nMOV             R0, R5; this                                           ; +0xa4, 0x4e8458\nVMUL.F32        S15, S15, S16                                          ; +0xa6, 0x4e845a\nLDR             R7, [R3,#0x5C]                                         ; +0xaa, 0x4e845e\nVMOV            R1, S15; float                                         ; +0xac, 0x4e8460\nVLDR            S15, [SP,#0x18+var_10]                                 ; +0xb0, 0x4e8464\nVMLA.F32        S17, S15, S16                                          ; +0xb4, 0x4e8468\nVMOV            R2, S17; float                                         ; +0xb8, 0x4e846c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xbc, 0x4e8470\nMOV             R0, R4                                                 ; +0xc0, 0x4e8474\nMOV             R1, R5                                                 ; +0xc2, 0x4e8476\nBLX             R7                                                     ; +0xc4, 0x4e8478\nLDR             R2, [SP,#0x18+var_4]                                   ; +0xc6, 0x4e847a\nLDR             R3, [R6]                                               ; +0xc8, 0x4e847c\nCMP             R2, R3                                                 ; +0xca, 0x4e847e\nBEQ             loc_4E8486                                             ; +0xcc, 0x4e8480\nBLX             __stack_chk_fail                                       ; +0xce, 0x4e8482\nADD             SP, SP, #0x18                                          ; +0xd2, 0x4e8486\nVPOP            {D8}                                                   ; +0xd4, 0x4e8488\nPOP.W           {R4-R8,PC}                                             ; +0xd8, 0x4e848c", "xrefs": ["PlayLayer::updateVisibility @ 0x407076", "LevelEditorLayer::updateVisibility @ 0x462e64"], "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"}