{"type": "func", "start": 10922704, "end": 10922824, "name": "CurrencyRewardLayer::createUnlockObject", "pseudocode": "// \n// CurrencyRewardLayer::createUnlockObject from 0xa6aad0 to 0xa6ab48 (120 bytes)\n// \n// 3 xrefs:\n// > GJGarageLayer::dialogClosed @ 0x8be1d8\n// > RewardUnlockLayer::playRewardEffect @ 0xa882e0\n// > <???> @ 0x94288\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 13:00:19 +0000\n// \n\n__int64 __fastcall CurrencyRewardLayer::createUnlockObject(\n        __int64 a1,\n        CurrencySprite *a2,\n        const cocos2d::CCPoint *a3,\n        float a4)\n{\n  _BYTE v8[8]; // [xsp+40h] [xbp+40h] BYREF\n\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, a3);\n  CurrencyRewardLayer::createObjectsFull(a1, 0, 1, a2, (__int64)v8, a4);\n  return _stack_chk_guard;\n}", "assembly": "; \n; CurrencyRewardLayer::createUnlockObject from 0xa6aad0 to 0xa6ab48 (120 bytes)\n; \n; 3 xrefs:\n; > GJGarageLayer::dialogClosed @ 0x8be1d8\n; > RewardUnlockLayer::playRewardEffect @ 0xa882e0\n; > <???> @ 0x94288\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 13:00:19 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0xa6aad0\nMOV             X29, SP                                                ; +0x4, 0xa6aad4\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0xa6aad8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xa6aadc\nADD             X4, X29, #0x50+var_10                                  ; +0x10, 0xa6aae0\nSTR             X1, [X29,#0x50+var_30]                                 ; +0x14, 0xa6aae4\nMOV             X1, X2; cocos2d::CCPoint *                             ; +0x18, 0xa6aae8\nMOV             X20, X0                                                ; +0x1c, 0xa6aaec\nMOV             X0, X4; this                                           ; +0x20, 0xa6aaf0\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0xa6aaf4\nSTR             X4, [X29,#0x50+var_28]                                 ; +0x28, 0xa6aaf8\nSTR             Q0, [X29,#0x50+var_20]                                 ; +0x2c, 0xa6aafc\nLDR             X2, [X19]                                              ; +0x30, 0xa6ab00\nSTR             X2, [X29,#0x50+var_8]                                  ; +0x34, 0xa6ab04\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x38, 0xa6ab08\nLDR             Q0, [X29,#0x50+var_20]                                 ; +0x3c, 0xa6ab0c\nLDR             X3, [X29,#0x50+var_30]                                 ; +0x40, 0xa6ab10\nLDR             X4, [X29,#0x50+var_28]                                 ; +0x44, 0xa6ab14\nMOV             X0, X20                                                ; +0x48, 0xa6ab18\nMOV             W1, #0                                                 ; +0x4c, 0xa6ab1c\nMOV             W2, #1                                                 ; +0x50, 0xa6ab20\nBL              _ZN19CurrencyRewardLayer17createObjectsFullE18CurrencySpriteTypeiPN7cocos2d8CCSpriteENS1_7CCPointEf; CurrencyRewardLayer::createObjectsFull(CurrencySpriteType,int,cocos2d::CCSprite *,cocos2d::CCPoint,float) ; +0x54, 0xa6ab24\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x58, 0xa6ab28\nLDR             X0, [X19]                                              ; +0x5c, 0xa6ab2c\nCMP             X1, X0                                                 ; +0x60, 0xa6ab30\nB.NE            loc_A6AB44                                             ; +0x64, 0xa6ab34\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x68, 0xa6ab38\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x6c, 0xa6ab3c\nRET                                                                    ; +0x70, 0xa6ab40\nBL              .__stack_chk_fail                                      ; +0x74, 0xa6ab44", "xrefs": ["GJGarageLayer::dialogClosed @ 0x8be1d8", "RewardUnlockLayer::playRewardEffect @ 0xa882e0", "<???> @ 0x94288"], "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"}