{"type": "func", "start": 4297357648, "end": 4297357684, "name": "GameManager::defaultFrameForAnimation", "pseudocode": "// \n// GameManager::defaultFrameForAnimation from 0x100247950 to 0x100247974 (36 bytes)\n// \n// 0 xrefs:\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:27:20 +0000\n// \n\n__int64 __fastcall GameManager::defaultFrameForAnimation(__int64 a1)\n{\n  __int64 v1; // rax\n\n  v1 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 408));\n  if ( v1 )\n    return *(unsigned int *)(v1 + 56);\n  else\n    return 1;\n}", "assembly": "; \n; GameManager::defaultFrameForAnimation from 0x100247950 to 0x100247974 (36 bytes)\n; \n; 0 xrefs:\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:27:20 +0000\n; \npush    rbp                                                            ; +0x0, 0x100247950\nmov     rbp, rsp                                                       ; +0x1, 0x100247951\nmov     rdi, [rdi+198h]                                                ; +0x4, 0x100247954\nmovsxd  rsi, esi                                                       ; +0xb, 0x10024795b\ncall    cocos2d__CCDictionary__objectForKey_1                          ; +0xe, 0x10024795e\ntest    rax, rax                                                       ; +0x13, 0x100247963\njz      short loc_10024796D                                            ; +0x16, 0x100247966\nmov     eax, [rax+38h]                                                 ; +0x18, 0x100247968\npop     rbp                                                            ; +0x1b, 0x10024796b\nretn                                                                   ; +0x1c, 0x10024796c\nmov     eax, 1                                                         ; +0x1d, 0x10024796d\npop     rbp                                                            ; +0x22, 0x100247972\nretn                                                                   ; +0x23, 0x100247973", "xrefs": [], "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"}