{"type": "func", "start": 4302180656, "end": 4302180925, "name": "GJActionManager::updateInternalActions", "pseudocode": "// \n// GJActionManager::updateInternalActions from 0x1006e1130 to 0x1006e123d (269 bytes)\n// \n// 1 xrefs:\n// > PlayerObject::updateInternalActions @ 0x10040a9ee\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:45 +0000\n// \n\nvoid __fastcall GJActionManager::updateInternalActions(__int64 a1, char a2, float a3)\n{\n  __int64 v3; // rax\n  unsigned int *v4; // rax\n  unsigned __int64 v5; // r12\n  unsigned __int64 v6; // r13\n  __int64 v7; // r14\n  __int64 v8; // r15\n  __int64 v9; // r14\n  __int64 v10; // r15\n  char v11; // al\n  __int64 v12; // rcx\n\n  v3 = cocos2d::CCDictionary::allKeys(*(_QWORD *)(a1 + 320));\n  if ( v3 )\n  {\n    v4 = *(unsigned int **)(v3 + 56);\n    if ( *v4 )\n    {\n      v5 = *((_QWORD *)v4 + 2);\n      v6 = v5 + 8LL * *v4 - 8;\n      if ( a2 )\n      {\n        do\n        {\n          if ( !*(_QWORD *)v5 )\n            break;\n          v7 = *(int *)(*(_QWORD *)v5 + 56LL);\n          v8 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 320), v7);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 80LL))(v8);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 96LL))(v8);\n          cocos2d::CCDictionary::removeObjectForKey_1(*(_QWORD *)(a1 + 320), v7);\n          v5 += 8LL;\n        }\n        while ( v5 <= v6 );\n      }\n      else\n      {\n        while ( *(_QWORD *)v5 )\n        {\n          v9 = *(int *)(*(_QWORD *)v5 + 56LL);\n          v10 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 320), v9);\n          v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 80LL))(v10);\n          v12 = *(_QWORD *)v10;\n          if ( v11 )\n          {\n            (*(void (__fastcall **)(__int64))(v12 + 96))(v10);\n            cocos2d::CCDictionary::removeObjectForKey_1(*(_QWORD *)(a1 + 320), v9);\n            v5 += 8LL;\n            if ( v5 > v6 )\n              return;\n          }\n          else\n          {\n            (*(void (__fastcall **)(__int64, float))(v12 + 104))(v10, a3);\n            v5 += 8LL;\n            if ( v5 > v6 )\n              return;\n          }\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; GJActionManager::updateInternalActions from 0x1006e1130 to 0x1006e123d (269 bytes)\n; \n; 1 xrefs:\n; > PlayerObject::updateInternalActions @ 0x10040a9ee\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:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006e1130\nmov     rbp, rsp                                                       ; +0x1, 0x1006e1131\npush    r15                                                            ; +0x4, 0x1006e1134\npush    r14                                                            ; +0x6, 0x1006e1136\npush    r13                                                            ; +0x8, 0x1006e1138\npush    r12                                                            ; +0xa, 0x1006e113a\npush    rbx                                                            ; +0xc, 0x1006e113c\npush    rax                                                            ; +0xd, 0x1006e113d\nmov     r14d, esi                                                      ; +0xe, 0x1006e113e\nmovss   [rbp+var_2C], xmm0                                             ; +0x11, 0x1006e1141\nmov     rbx, rdi                                                       ; +0x16, 0x1006e1146\nmov     rdi, [rdi+140h]                                                ; +0x19, 0x1006e1149\ncall    cocos2d__CCDictionary__allKeys                                 ; +0x20, 0x1006e1150\ntest    rax, rax                                                       ; +0x25, 0x1006e1155\njz      loc_1006E122E                                                  ; +0x28, 0x1006e1158\nmov     rax, [rax+38h]                                                 ; +0x2e, 0x1006e115e\nmov     ecx, [rax]                                                     ; +0x32, 0x1006e1162\ntest    rcx, rcx                                                       ; +0x34, 0x1006e1164\njz      loc_1006E122E                                                  ; +0x37, 0x1006e1167\nmov     r12, [rax+10h]                                                 ; +0x3d, 0x1006e116d\nlea     r13, [r12+rcx*8]                                               ; +0x41, 0x1006e1171\nadd     r13, 0FFFFFFFFFFFFFFF8h                                        ; +0x45, 0x1006e1175\ntest    r14b, r14b                                                     ; +0x49, 0x1006e1179\njz      short loc_1006E11E1                                            ; +0x4c, 0x1006e117c\nxchg    ax, ax                                                         ; +0x4e, 0x1006e117e\nmov     rax, [r12]                                                     ; +0x50, 0x1006e1180\ntest    rax, rax                                                       ; +0x54, 0x1006e1184\njz      loc_1006E122E                                                  ; +0x57, 0x1006e1187\nmovsxd  r14, dword ptr [rax+38h]                                       ; +0x5d, 0x1006e118d\nmov     rdi, [rbx+140h]                                                ; +0x61, 0x1006e1191\nmov     rsi, r14                                                       ; +0x68, 0x1006e1198\ncall    cocos2d__CCDictionary__objectForKey_1                          ; +0x6b, 0x1006e119b\nmov     r15, rax                                                       ; +0x70, 0x1006e11a0\nmov     rax, [rax]                                                     ; +0x73, 0x1006e11a3\nmov     rdi, r15                                                       ; +0x76, 0x1006e11a6\ncall    qword ptr [rax+50h]                                            ; +0x79, 0x1006e11a9\nmov     rax, [r15]                                                     ; +0x7c, 0x1006e11ac\nmov     rdi, r15                                                       ; +0x7f, 0x1006e11af\ncall    qword ptr [rax+60h]                                            ; +0x82, 0x1006e11b2\nmov     rdi, [rbx+140h]                                                ; +0x85, 0x1006e11b5\nmov     rsi, r14                                                       ; +0x8c, 0x1006e11bc\ncall    cocos2d__CCDictionary__removeObjectForKey_1                    ; +0x8f, 0x1006e11bf\nadd     r12, 8                                                         ; +0x94, 0x1006e11c4\ncmp     r12, r13                                                       ; +0x98, 0x1006e11c8\njbe     short loc_1006E1180                                            ; +0x9b, 0x1006e11cb\njmp     short loc_1006E122E                                            ; +0x9d, 0x1006e11cd\nalign 10h                                                              ; +0x9f, 0x1006e11cf\nmovss   xmm0, [rbp+var_2C]                                             ; +0xa0, 0x1006e11d0\ncall    qword ptr [rcx+68h]                                            ; +0xa5, 0x1006e11d5\nadd     r12, 8                                                         ; +0xa8, 0x1006e11d8\ncmp     r12, r13                                                       ; +0xac, 0x1006e11dc\nja      short loc_1006E122E                                            ; +0xaf, 0x1006e11df\nmov     rax, [r12]                                                     ; +0xb1, 0x1006e11e1\ntest    rax, rax                                                       ; +0xb5, 0x1006e11e5\njz      short loc_1006E122E                                            ; +0xb8, 0x1006e11e8\nmovsxd  r14, dword ptr [rax+38h]                                       ; +0xba, 0x1006e11ea\nmov     rdi, [rbx+140h]                                                ; +0xbe, 0x1006e11ee\nmov     rsi, r14                                                       ; +0xc5, 0x1006e11f5\ncall    cocos2d__CCDictionary__objectForKey_1                          ; +0xc8, 0x1006e11f8\nmov     r15, rax                                                       ; +0xcd, 0x1006e11fd\nmov     rax, [rax]                                                     ; +0xd0, 0x1006e1200\nmov     rdi, r15                                                       ; +0xd3, 0x1006e1203\ncall    qword ptr [rax+50h]                                            ; +0xd6, 0x1006e1206\nmov     rcx, [r15]                                                     ; +0xd9, 0x1006e1209\nmov     rdi, r15                                                       ; +0xdc, 0x1006e120c\ntest    al, al                                                         ; +0xdf, 0x1006e120f\njz      short loc_1006E11D0                                            ; +0xe1, 0x1006e1211\ncall    qword ptr [rcx+60h]                                            ; +0xe3, 0x1006e1213\nmov     rdi, [rbx+140h]                                                ; +0xe6, 0x1006e1216\nmov     rsi, r14                                                       ; +0xed, 0x1006e121d\ncall    cocos2d__CCDictionary__removeObjectForKey_1                    ; +0xf0, 0x1006e1220\nadd     r12, 8                                                         ; +0xf5, 0x1006e1225\ncmp     r12, r13                                                       ; +0xf9, 0x1006e1229\njbe     short loc_1006E11E1                                            ; +0xfc, 0x1006e122c\nadd     rsp, 8                                                         ; +0xfe, 0x1006e122e\npop     rbx                                                            ; +0x102, 0x1006e1232\npop     r12                                                            ; +0x103, 0x1006e1233\npop     r13                                                            ; +0x105, 0x1006e1235\npop     r14                                                            ; +0x107, 0x1006e1237\npop     r15                                                            ; +0x109, 0x1006e1239\npop     rbp                                                            ; +0x10b, 0x1006e123b\nretn                                                                   ; +0x10c, 0x1006e123c", "xrefs": ["PlayerObject::updateInternalActions @ 0x10040a9ee"], "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"}