{"type": "func", "start": 4295815220, "end": 4295815340, "name": "GJGameLevel::getCoinKey", "pseudocode": "// \n// GJGameLevel::getCoinKey from 0x1000cf034 to 0x1000cf0ac (120 bytes)\n// \n// 4 xrefs:\n// > sub_1000BD74C @ 0x1000bda6c\n// > sub_1000BD74C @ 0x1000bdaa0\n// > GJGameLevel::getCoinKey_1 @ 0x1000be300\n// > LevelCell::loadCustomLevelCell @ 0x100134fc0\n// \n// This function is hookable on this platform (idp: arm, 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 10:58:53 +0000\n// \n\n__int64 __fastcall GJGameLevel::getCoinKey(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v3; // x0\n\n  if ( a3 < 1 )\n  {\n    if ( *(_BYTE *)(a1 + 649) == 1 )\n      v3 = sub_1003065B0(\"%i_%i_g\");\n    else\n      v3 = sub_1003065B0(\"%i_%i\");\n  }\n  else\n  {\n    v3 = sub_1003065B0(\"%i_%i_%i\");\n  }\n  return cocos2d::CCString::getCString(v3);\n}", "assembly": "; \n; GJGameLevel::getCoinKey from 0x1000cf034 to 0x1000cf0ac (120 bytes)\n; \n; 4 xrefs:\n; > sub_1000BD74C @ 0x1000bda6c\n; > sub_1000BD74C @ 0x1000bdaa0\n; > GJGameLevel::getCoinKey_1 @ 0x1000be300\n; > LevelCell::loadCustomLevelCell @ 0x100134fc0\n; \n; This function is hookable on this platform (idp: arm, 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 10:58:53 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x1000cf034\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x4, 0x1000cf038\nADD             X29, SP, #0x20                                         ; +0x8, 0x1000cf03c\nCMP             W2, #1                                                 ; +0xc, 0x1000cf040\nB.LT            loc_1000CF068                                          ; +0x10, 0x1000cf044\nLDR             W8, [X0,#0x148]                                        ; +0x14, 0x1000cf048\nLDR             W9, [X0,#0x14C]                                        ; +0x18, 0x1000cf04c\nSUB             W8, W8, W9                                             ; +0x1c, 0x1000cf050\nSTP             X1, X2, [SP,#0x20+var_18]                              ; +0x20, 0x1000cf054\nSTR             X8, [SP,#0x20+var_20]                                  ; +0x24, 0x1000cf058\nADRL            X0, aIII_0; \"%i_%i_%i\"                                 ; +0x28, 0x1000cf05c\nB               loc_1000CF09C                                          ; +0x30, 0x1000cf064\nLDRB            W9, [X0,#0x289]                                        ; +0x34, 0x1000cf068\nLDR             W8, [X0,#0x148]                                        ; +0x38, 0x1000cf06c\nLDR             W10, [X0,#0x14C]                                       ; +0x3c, 0x1000cf070\nSUB             W8, W8, W10                                            ; +0x40, 0x1000cf074\nCMP             W9, #1                                                 ; +0x44, 0x1000cf078\nB.NE            loc_1000CF090                                          ; +0x48, 0x1000cf07c\nSTP             X8, X1, [SP,#0x20+var_20]                              ; +0x4c, 0x1000cf080\nADRL            X0, aIIG; \"%i_%i_g\"                                    ; +0x50, 0x1000cf084\nB               loc_1000CF09C                                          ; +0x58, 0x1000cf08c\nSTP             X8, X1, [SP,#0x20+var_20]                              ; +0x5c, 0x1000cf090\nADRL            X0, aII_3; \"%i_%i\"                                     ; +0x60, 0x1000cf094\nBL              sub_1003065B0                                          ; +0x68, 0x1000cf09c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x6c, 0x1000cf0a0\nADD             SP, SP, #0x30 ; '0'                                    ; +0x70, 0x1000cf0a4\nB               cocos2d__CCString__getCString                          ; +0x74, 0x1000cf0a8", "xrefs": ["sub_1000BD74C @ 0x1000bda6c", "sub_1000BD74C @ 0x1000bdaa0", "GJGameLevel::getCoinKey_1 @ 0x1000be300", "LevelCell::loadCustomLevelCell @ 0x100134fc0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}