{"type": "func", "start": 6313024, "end": 6313092, "name": "CurrencyRewardLayer::createUnlockObject", "pseudocode": "// \n// CurrencyRewardLayer::createUnlockObject from 0x605440 to 0x605484 (68 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::dialogClosed @ 0x50d962\n// > RewardUnlockLayer::playRewardEffect @ 0x618de4\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:54:43 +0000\n// \n\nfloat __fastcall CurrencyRewardLayer::createUnlockObject(\n        float a1,\n        CurrencySprite *a2,\n        const cocos2d::CCPoint *a3,\n        float a4)\n{\n  _BYTE v8[8]; // [sp+Ch] [bp-Ch] BYREF\n\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, a3);\n  return CurrencyRewardLayer::createObjectsFull(a1, 0, 1, a2, (int)v8, a4);\n}", "assembly": "; \n; CurrencyRewardLayer::createUnlockObject from 0x605440 to 0x605484 (68 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::dialogClosed @ 0x50d962\n; > RewardUnlockLayer::playRewardEffect @ 0x618de4\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:54:43 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x605440\nSUB             SP, SP, #0x18                                          ; +0x4, 0x605444\nLDR             R4, =(__stack_chk_guard_ptr - 0x605452)                ; +0x6, 0x605446\nMOV             R8, R3                                                 ; +0x8, 0x605448\nADD             R5, SP, #0x18+var_C                                    ; +0xa, 0x60544a\nMOV             R7, R0                                                 ; +0xc, 0x60544c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x60544e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x605450\nMOV             R6, R1                                                 ; +0x12, 0x605452\nMOV             R0, R5; this                                           ; +0x14, 0x605454\nMOV             R1, R2; cocos2d::CCPoint *                             ; +0x16, 0x605456\nLDR             R3, [R4]                                               ; +0x18, 0x605458\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x1a, 0x60545a\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1c, 0x60545c\nMOVS            R2, #1; int                                            ; +0x20, 0x605460\nMOV             R3, R6; bool                                           ; +0x22, 0x605462\nSTR             R5, [SP,#0x18+var_18]; int                             ; +0x24, 0x605464\nMOV             R0, R7; int                                            ; +0x26, 0x605466\nSTR.W           R8, [SP,#0x18+var_14]; float                           ; +0x28, 0x605468\nMOVS            R1, #0; int                                            ; +0x2c, 0x60546c\nBL              _ZN19CurrencyRewardLayer17createObjectsFullE18CurrencySpriteTypeiPN7cocos2d8CCSpriteENS1_7CCPointEf; CurrencyRewardLayer::createObjectsFull(CurrencySpriteType,int,cocos2d::CCSprite *,cocos2d::CCPoint,float) ; +0x2e, 0x60546e\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x32, 0x605472\nLDR             R3, [R4]                                               ; +0x34, 0x605474\nCMP             R2, R3                                                 ; +0x36, 0x605476\nBEQ             loc_60547E                                             ; +0x38, 0x605478\nBLX             __stack_chk_fail                                       ; +0x3a, 0x60547a\nADD             SP, SP, #0x18                                          ; +0x3e, 0x60547e\nPOP.W           {R4-R8,PC}                                             ; +0x40, 0x605480", "xrefs": ["GJGarageLayer::dialogClosed @ 0x50d962", "RewardUnlockLayer::playRewardEffect @ 0x618de4"], "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"}